package xyz.jiang.business.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import xyz.jiang.common.utils.RedisUtils;

@RestController
public class TestController {

    @Autowired
    private RedisUtils redisUtils;

    @GetMapping("/test")
    public Object test() {
        redisUtils.set("name", "jiang");
        return "success";
    }
}
